class MyException extends Exception{ // Die Exception neu definieren, damit die Mitteilung nicht optional ist public function __construct($message, $code = 0, Exception $previous = null) { // etwas Code // sicherstellen, dass alles korrekt zugewiesen wird parent::__construct($message, $code, $previous); } // maßgeschneiderte Stringdarstellung des Objektes public function __toString() { return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; } public function customFunction() { echo "Eine eigene Funktion dieses Exceptiontyps\n"; }}
1More
1More
PHP web Development makes Well-Organized and lucrative Website - 1 views
1More
Need to solve error in PHP code useful for getting Google PageRank - 2 views
2More
User Login in PHP with Session & MySQL - Be Problem Solver - 0 views
1More
PHP Web Development - Business made easy via online presence - 0 views
1More
Why You Should Use PHP Code Generators in Web Programming - 0 views
9More
Improving 404 Page Design | Webdesigntuts+ - 0 views
WP MASTER DEVELOPER PRO - 1 views
1More